package com.x25175.file.mapper;

import com.x25175.file.entity.Picture;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 徐佳辉
 * @date 2020/11/27 10:46
 */
public interface PictureMapper {
    int delete(Integer pId);

    int insert(Picture picture);

    int insertDynamic(Picture picture);

    int updateDynamic(Picture picture);

    int update(Picture picture);

    Picture selectByPId(Integer pId);

    List<Picture> list();

    int deleteByPictureList(@Param("list") List<Picture> pictures);
}
